import { lazyPage as lazy } from '@utils';

const publicPath = `/${process.env.APP_NAME}`;

export default [
  {
    key: 'monitor',
    path: `${publicPath}/monitor`,
    title: 'Monitor',
    component: lazy(() => import(/* webpackChunkName: "monitor" */ '@views/monitor')),
    routes: [
      {
        path: `${publicPath}/monitor/details`,
        title: 'Monitor Details',
        component: lazy(
          () => import(/* webpackChunkName: "monitor-details" */ '@views/monitor/details')
        )
      }
    ]
  }
];
